﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelSystem.Model
{

    /// <summary>
    /// 国标原材料
    /// </summary>
    public class NSMaterial
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        /// <summary>
        /// 自增长
        /// </summary>
        public int ID { get; set; }


        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public string Category { get; set; }



        /// <summary>
        /// 型号
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 腿厚
        /// </summary>
        public decimal? LegThickness { get; set; }

        /// <summary>
        /// 腰厚
        /// </summary>
        public decimal? WaistThickness { get; set; }

        /// <summary>
        /// 长度 m
        /// </summary>
        public decimal? Length { get; set; }

        /// <summary>
        /// 单位重量
        /// </summary>
        public decimal? UnitWeight { get; set; }

        /// <summary>
        /// 宽
        /// </summary>
        public decimal? Width { get; set; }

        /// <summary>
        /// 高
        /// </summary>
        public decimal? Height { get; set; }

        /// <summary>
        /// 理论重量
        /// </summary>
        public decimal? TheoreticalWeight { get; set; }

        /// <summary>
        /// 实际重量
        /// </summary>
        public decimal? ActualWeight { get; set; }




    }
}
